<template>
  <div @click.self="$store.state.buyTicket.groupBuyingAlert=false" class="alert-bag cenCen">
    <div class="alert-box ">
      <div class="alert-title">温馨提示</div>
      <div class="alert-con" v-if="$store.state.buyTicket.getTicketState.groupNumRemark" v-html=" $store.state.buyTicket.getTicketState.groupNumRemark"></div>
      <div class="alert-con" v-else>暂无团购票数量说明，请前往付费报名管理后台应用，权限管理板块进行设置</div>
      <div class="alert-btn-box">
        <div @click="openPage('orderEnter')" class="alert-btn thisNav  ">我已有全部用票人信息
          <!-- <img src="https://img.alicdn.com/tfs/TB1kmj5XRGw3KVjSZFwXXbQ2FXa-200-200.png"> -->
          <i style="color:#fff" class="iconfont nf_icon_youjiantou-"></i>
        </div>
        <div :style="[{color:$store.state.themeColor},{borderColor:$store.state.themeColor}]" @click="openPage('groupBuying')" class="alert-btn  ">暂无用票人信息，团购
          <!-- <img src="https://gw.alicdn.com/tfs/TB1Yi6jbpT7gK0jSZFpXXaTkpXa-200-200.png"> -->
          <i class="iconfont nf_icon_youjiantou-"></i>
        </div>
      </div>
    </div>
  </div>
</template>
<script>
export default {
  methods: {
    openPage(name) {
      this.$store.state.buyTicket.groupBuyingAlert = false;
      this.$router.push({
        name
      });
    }
  }
};
</script>

<style scoped>
.alert-bag {
  position: fixed;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
}
.alert-box {
  width: 80%;
  max-width: 666px;
  height: auto;
  min-height: 200px;
  background: #e0e0e0;
  background: #fff;
  border-radius: 14px;
  padding: 16px 30px 296px 30px;
  position: relative;
}
.alert-title {
  width: 100%;
  height: auto;
  font-size: 28px;
  color: #000000;
  letter-spacing: 0;
  text-align: center;
  margin: 20px 0px;
}
.alert-con {
  width: 100%;
  height: auto;
  text-align: center;
  margin: 10px 0px;
  font-size: 22px;
  color: #373d41;
  text-align: left;
}

.alert-btn-box {
  position: absolute;
  left: 0px;
  bottom: 16px;
  width: 100%;
  height: auto;
  cursor: pointer;
  padding: 0px 20px;
}
.alert-btn {
  width: 100%;
  height: auto;
  min-height: 88px;
  line-height: 88px;
  text-align: left;
  font-size: 26px;
  padding: 0px 16px;
  border-style: solid;
  border-width: 1px;
  border-radius: 14px;
  margin: 26px 0px;
  background: #fff;
  position: relative;
  cursor: pointer;
}
.alert-btn > img {
  width: 46px;
  height: auto;
  position: absolute;
  right: 16px;
  top: 20px;
}
.alert-btn > i {
  font-size: 46px;
  position: absolute;
  right: 16px;
  top: 0px;
  width: auto;
  height: 100%;
}
.alert-btn:active {
  opacity: 0.8;
}
.thisNav {
  border: none !important;
  color: #fff;
  border: 1px solid #fff;
  background-image: linear-gradient(-116deg, #3cb9ff 0%, #6044d4 100%);
}
</style>
